/*
 *Copyright (c) 2012 Mango Persistence Model
 */
package ext.mango.aa.eo;

import mango.orm.entity.Entity;
import mango.orm.entity.Table;
import mango.orm.entity.Column;
import mango.orm.OrmTypes;
import java.sql.Types;

/**
 * AALoginHistory
 * @serial 1340374652337
 */
@Table("AALOGINHISTORY")
public class EOAALoginHistory extends Entity {
    private static final long serialVersionUID = -134037465233728088L;

    /**
     * Name    : id
     * Code    : id
     * Comment : 
     **/
    @Column(column="ID", primary=true, type=Types.VARCHAR)
    public String getId() {
        return OrmTypes.convert(String.class, this.get("ID"));
    }

    public EOAALoginHistory setId(String id) {
        this.set("ID", id);
        return this;
    }

    /**
     * Name    : sessionId
     * Code    : sessionId
     * Comment : 
     **/
    @Column(column="SESSIONID", primary=false, type=Types.VARCHAR)
    public String getSessionId() {
        return OrmTypes.convert(String.class, this.get("SESSIONID"));
    }

    public EOAALoginHistory setSessionId(String sessionId) {
        this.set("SESSIONID", sessionId);
        return this;
    }

    /**
     * Name    : remotHost
     * Code    : remotHost
     * Comment : 
     **/
    @Column(column="REMOTHOST", primary=false, type=Types.VARCHAR)
    public String getRemotHost() {
        return OrmTypes.convert(String.class, this.get("REMOTHOST"));
    }

    public EOAALoginHistory setRemotHost(String remotHost) {
        this.set("REMOTHOST", remotHost);
        return this;
    }

    /**
     * Name    : userName
     * Code    : userName
     * Comment : 
     **/
    @Column(column="USERNAME", primary=false, type=Types.VARCHAR)
    public String getUserName() {
        return OrmTypes.convert(String.class, this.get("USERNAME"));
    }

    public EOAALoginHistory setUserName(String userName) {
        this.set("USERNAME", userName);
        return this;
    }

    /**
     * Name    : usrId
     * Code    : usrId
     * Comment : 
     **/
    @Column(column="USRID", primary=false, type=Types.VARCHAR)
    public String getUsrId() {
        return OrmTypes.convert(String.class, this.get("USRID"));
    }

    public EOAALoginHistory setUsrId(String usrId) {
        this.set("USRID", usrId);
        return this;
    }

    /**
     * Name    : loginDate
     * Code    : loginDate
     * Comment : 
     **/
    @Column(column="LOGINDATE", primary=false, type=Types.CHAR)
    public String getLoginDate() {
        return OrmTypes.convert(String.class, this.get("LOGINDATE"));
    }

    public EOAALoginHistory setLoginDate(String loginDate) {
        this.set("LOGINDATE", loginDate);
        return this;
    }

    /**
     * Name    : loginTime
     * Code    : loginTime
     * Comment : 
     **/
    @Column(column="LOGINTIME", primary=false, type=Types.CHAR)
    public String getLoginTime() {
        return OrmTypes.convert(String.class, this.get("LOGINTIME"));
    }

    public EOAALoginHistory setLoginTime(String loginTime) {
        this.set("LOGINTIME", loginTime);
        return this;
    }

    /**
     * Name    : logoutDate
     * Code    : logoutDate
     * Comment : 
     **/
    @Column(column="LOGOUTDATE", primary=false, type=Types.CHAR)
    public String getLogoutDate() {
        return OrmTypes.convert(String.class, this.get("LOGOUTDATE"));
    }

    public EOAALoginHistory setLogoutDate(String logoutDate) {
        this.set("LOGOUTDATE", logoutDate);
        return this;
    }

    /**
     * Name    : logoutTime
     * Code    : logoutTime
     * Comment : 
     **/
    @Column(column="LOGOUTTIME", primary=false, type=Types.CHAR)
    public String getLogoutTime() {
        return OrmTypes.convert(String.class, this.get("LOGOUTTIME"));
    }

    public EOAALoginHistory setLogoutTime(String logoutTime) {
        this.set("LOGOUTTIME", logoutTime);
        return this;
    }

    /**
     * Name    : status
     * Code    : status
     * Comment : 1: 在线 0: 下线
     **/
    @Column(column="STATUS", primary=false, type=Types.VARCHAR)
    public String getStatus() {
        return OrmTypes.convert(String.class, this.get("STATUS"));
    }

    public EOAALoginHistory setStatus(String status) {
        this.set("STATUS", status);
        return this;
    }

}
